public function addListener($uri) { $url = $this->parseUrl($uri); $this->server->addListener($url->host, $url->port, $url->type); }