Changed the way that string lengths are sent, so that the messaging client will work with Steve Mayer's chat server.