Copied Agent to SocketTestAgent