Add some unit tests for the proxy handler.
Remove ProxyHandler#whitelisted_host? in favor of just using ProxyHandler#whitelisted_url?