class Async::HTTP::Internet

def client_for(endpoint)

@returns [Client] A client suitable for making requests to the endpoint.
@parameter endpoint [Endpoint] The endpoint to connect to.
Get or create a client for the given endpoint.
def client_for(endpoint)
	key = host_key(endpoint)
	
	@clients.fetch(key) do
		@clients[key] = self.make_client(endpoint)
	end
end