add request.js to make requests to local http server
prepare options object for request
make request
listen for response event. the request object will emit the response event once the request headers have been received