title: wget is not using environment variable based proxy settings
body: <p>I have a windows nano server and try to set the proxy settings. The nano server is only in command mode no GUI. I have run in PowerShell </p>
  
  <pre><code>netsh winhttp set proxy proxy-server="ipadress:8080"
  </code></pre>
  
  <p>then I have </p>
  
  <pre><code>ping www.google.de 
  </code></pre>
  
  <p>and the IP address from google was shown, so there is some connection. But when I try to run </p>
  
  <pre><code>wget www.google.de 
  </code></pre>
  
  <p>I get </p>
  
  <pre><code>"Unable to connect to the remote server"
  </code></pre>
  
  <p>then I have set the proxy in the PowerShell environment with </p>
  
  <pre><code>set http_proxy="ipadress:8080" and https_proxy...
  </code></pre>
  
  <p>but the same problem. When I call wget directly with the proxy settings it works:</p>
  
  <pre><code>wget 'http://www.google.de' -Proxy http://ipadress:8080
  </code></pre>
  
  <p>How can I get it work that <code>wget</code> uses the global proxy settings? Or are the settings not correctly set? Or need I to install some windows features, that it is working?</p>
  
  <p>I use <code>wget</code> to test the connection later any web request for any program should work.</p>