.reqToMap() maps req.connectionInfo.localPort

PASS: agent_server.WebServer.reqToMap() maps
req.connectionInfo.localPort to ["connection"]["localPort"]
Refactored WebServer.reqToMap()
reqToMap() maps req.connectionInfo.remoteHost

PASS: agent_server.WebServer.reqToMap() maps
req.connectionInfo.remoteHost to ["connection"]["remoteHost"]
.reqToMap() maps req.connectionInfo.remotePort

PASS: agent_server.WebServer.reqToMap() maps
req.connectionInfo.remotePort to ["connection"]["remotePort"]
PASS: agent_server.WebData exists
PASS: agent_server.WebData needs HttpResponse
Moved code from WebServer to WebData.

PASS: agent_server.WebData needs HttpResponse
PASS: agent_server.WebData.req["metode"] from req.metode
PASS: agent_server.WebData.req["uri"] from req.uri
PASS: agent_server.WebData.req["connection"]["localPort"] from
req.connectionInfo.localPort
PASS: agent_server.WebData.req["connection"]["remoteHost"] from
req.connectionInfo.remoteHost
PASS: agent_server.WebData.req["connection"]["remotePort"] from
req.connectionInfo.remotePort
Removed old code from WebServer.
Moved code from WebServer to WebData

PASS: agent_server.WebData.toResponse() returns response from
HttpRequest
PASS: agent_server.WebData.toResponse() use code from req["code"]
PASS: agent_server.WebData.toResponse() calls close on request
PASS: agent_server.WebData.toResponse() use reasonPhrase from
res["reason"] if set
PASS: agent_server.WebData.toResponse() use data from res["body"]
PASS: agent_server.WebData.toResponse() use text from res["body"]
PASS: agent_server.WebData.toResponse() use res["body"] only of set.
PASS: agent_server.WebData.toResponse() use headers from res["http"].