Normalizes a URL by ensuring it has a protocol and no trailing slash
The URL to normalize
The normalized URL
Error if the URL is invalid
Normalizes a URL by ensuring it has a protocol and no trailing slash