remove hard coded logic to bypass proxy for localhost connections

If users want to bypass the proxy for localhost connections, they should configure that explicitly.