nodejitsu/node-http-proxy — pull request #572 by jwalton (2014-02-03 17:04:40+00:00)
Title: Issue #570: Use http.globalAgent as agent if no agent is explicitly specified.

Make it so we default to [`http.globalAgent`](http://nodejs.org/api/http.html#http_http_globalagent) as the agent if no agent is explicitly specified. This is the agent that HTTP requests use by default when no agent is specified, so this is more in keeping with the http module, and it also fixes #570. :)

`globalAgent` was introduced way back in [node 0.5.3](http://nodejs.org/docs/v0.5.3/api/http.html#http.globalAgent), so this should be a reasonably safe change as far as compatibility goes.