Fixed a couple subtle networking bugs. One would lock things up if < 4 bytes needed to be read to complete a message and one involved sneaky unicode characters slipping into my stream.