Updating url parsing to extract a single protocol again