Fix protocol-relative URI parsing.