Fix `prepend_scheme_if_needed` for `host:port`