public function selectHost(InternalRequest $ireq) { if (isset($ireq->uriHost)) { return $this->selectHostByAuthority($ireq); } else { return null; } // If null is returned a stream must return 400 for HTTP/1.1 requests and use the default // host for HTTP/1.0 requests. }