minor changes to tcpClient.java