Fixing logging of agent.requests to agent.sockets
More agent socket logging.