remove hard coded logic to bypass proxy for localhost connections