Deprecate $URL->getHost in favour of $request->getHttpHost();