Minor adjustment in case the host header is null (HTTP 1.0)