module Async::HTTP::Proxy::Client

def proxied_client(endpoint, headers = [])

Create a client that will proxy requests through the current client.
def proxied_client(endpoint, headers = [])
	proxy = self.proxy(endpoint, headers)
	
	return self.class.new(proxy.wrap_endpoint(endpoint))
end