Updated TCPclient to use write

Changed from client.println to client.write to improve stability and
speed. a few other minor changes