Modified http.rb to set a proxy from the http_proxy environment variable (if available)