public function withHost(string $host = null) : Uri { $new = clone $this; $new->host = (string) $host; return $new; }