protected function boot()
    {
        $this->buildDispatcher();
        $this->createLoop();
        
        if ($this->option('push')) {
            $this->enablePush();
        }
        
        $this->bootWsServer();
        $this->bootHttpServer();
        
        if ($this->option('flash')) {
            $this->allowFlash();
        }
        
        return $this->loop;
    }