String ImplementationVersion = RLGlueCore.getImplementationVersion();
String SpecVersion = RLGlueCore.getSpecVersion();
System.out.println("RL-Glue Java Agent Codec Version: " + SpecVersion + " (" + ImplementationVersion + ")");
System.out.println("\tConnecting to " + host + " on port " + port + "...");
theClient = new ClientAgent(theAgent);
try {
theClient.connect(host, port, Network.kRetryTimeout);
System.out.println("\tAgent Codec Connected");
theClient.runAgentEventLoop();