Uses $http_proxy if available

In my case, I needed to use an HTTP Proxy but saw that this was not supported in the module. This one-line patch searches for it in the usual envvar that wget and others use, passing this to the user agent. Tested here with defined and undefined var, both seems to work as expected without crashes, even when the var is not defined.