Prevent overwriting the host header with the host from the URI

Without this change it is impossible to make requests to a host with a different host header.