Add proxy support

Add proxy support (http only) via a regular http_proxy environment variable

Works fine under Windows and Linux