class Async::HTTP::Server

def initialize(endpoint, protocol_class = Protocol::HTTP1, &block)

def initialize(endpoint, protocol_class = Protocol::HTTP1, &block)
	@endpoint = endpoint
	@protocol_class = protocol_class || endpoint.protocol
	
	if block_given?
		define_singleton_method(:handle_request, block)
	end
end