I don't see how this could be causing any of the behavior we've been seeing, but may be interesting ... http://nodejs.org/api/net.html#net_socket_write_data_encoding_callback