Properly remove host from https urls in canonical_string