public function listen($port = 8080, $host = '0.0.0.0') { $this->port = $port; $this->host = $host; }