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.
Merge pull request #30 from ardahal/master

Fixed inability to run on systems without http_proxy or http_proxy variables