pub fn parse_server(raw: &str) -> Result<Url>
Normalizes a server URL to its origin (no path, no trailing slash).