Compute url to be signed from host header, if present.