Proxy support

Useful if deploying on heroku, so a http proxy running on fixed ip can be used to tunnel communications with the web service.