-Change: change from a raw bytearray to a queue.Queue for the write buffer.

This should ensure full packets are sent, instead of potentially half
packets.
-Fix: remove an unwanted print.