http proxy support by setting NETWORK_PROXY variable
This should implement feature request in #919.
Merge pull request #955 from chrox/network_proxy

http proxy support by setting NETWORK_PROXY variable