protected function filterHost(string $host) : string { if (strrpos($host, ':', -1)) { return $host; } return '//' . $host; }