public function getSocketLoop()
    {
        if ($this->socketLoop === null) {
            if ($this->loop instanceof StreamSelectLoop) {
                $this->socketLoop = new SelectPoller($this->loop);
            } else {
                $this->socketLoop = $this->loop;
            }
        }
        return $this->socketLoop;
    }