handles the environment variable 'http_proxy'