Pipe encoded packets to output stream.
TX output stream, such as a TCP socket.
TX packet stream.
conn will be closed/destroyed upon reaching the end of packet stream.
conn
Pipe encoded packets to output stream.