class Falcon::Hosts

def ssl_context

def ssl_context
	@server_context ||= OpenSSL::SSL::SSLContext.new(:TLSv1).tap do |context|
		context.servername_cb = Proc.new do |socket, hostname|
			self.host_context(socket, hostname)
		end
		
		context.session_id_context = "falcon"
		
		context.alpn_protocols = DEFAULT_ALPN_PROTOCOLS
		
		context.set_params
		
		context.freeze
	end
end