Socket server for java agents to report back