Added support for HTTP_PROXY and HTTPS_PROXY environment variables, if the proxy option isn't already set.
Won't use HTTP(S)_PROXY env var if proxy explicitly set to null.
Merge pull request #844 from jvmccarthy/issue595_http_proxy_env_vars

Add support for HTTP[S]_PROXY environment variables.  Fixes #595.