class Protocol::Rack::Request

def self.protocol(env)

def self.protocol(env)
	if protocols = env['rack.protocol']
		return Array(protocols)
	elsif protocols = env[HTTP_UPGRADE]
		return protocols.split(/\s*,\s*/)
	end
end