writePacket

fun OutputStream.writePacket(packet: Source)
fun OutputStream.writePacket(block: Sink.() -> Unit)