added AgentClientSocket.java