test that both HTTP_PROXY and HTTPS_PROXY variables are respected