Adding more logging for Agent in http_server.