Fixed inability to run without http_proxy variable

The inability to run without the http_proxy or http_proxy variables is fixed.
In an eariler commit, support for these were added, which caused issues in system where they were not set.
This problem has been fixed.