Updated tcp code: no longer using delimiters within messages, instead using stream length encoding, so deleted a lot of dead code + comments.  Additionally, because the size of a long on different machines is a different size, using I parameter with struct pack to indicate the size of the message.