Bypass proxies for tests that make localhost connections.

Localhost is relative, and it's often not what's expective when
proxying is turned on without an exception for it.