librato/statsd-librato-backend — pull request #20 by caevyn (2013-09-02 02:48:09+00:00)
Title: Use uri_parsed['hostname'] for Tunnel config instead of uri_parsed['host...

...']

http://nodejs.org/docs/latest/api/url.html host includes the port as well. So if my url in the proxy config is http://localhost:3128 then the tunnel config was
"proxy" : {
"host" : 'localhost:3128'
"port" : '3128'
}