introduced configured() classmethod
added protocol negotiation to hybi
added origin checker