class Async::HTTP::Endpoint

def self.for(scheme, hostname, **options)

Construct an endpoint with a specified scheme, hostname, and options.
def self.for(scheme, hostname, **options)
	# TODO: Consider using URI.for once it becomes available:
	uri_klass = URI.scheme_list[scheme.upcase] || URI::HTTP
	
	self.new(
		uri_klass.new(scheme, nil, hostname, nil, nil, nil, nil, nil, nil),
		**options
	)
end