code: def setup_environ(self):
          
          SimpleHandler.setup_environ(self)
          self.environ['ws4py.socket'] = get_connection(self.environ['wsgi.input'])
          self.http_version = self.environ['SERVER_PROTOCOL'].rsplit('/')[-1]
docs: Setup the environ dictionary and add the
          `'ws4py.socket'` key. Its associated value
          is the real socket underlying socket.