bug fix switch to environment variables http_proxy and https_proxy