HTTP: moving stuff around in the http.js file.
HTTP: initial Agent implementation