pub fn parse_url(url: &str) -> Option<(String, String, String)>
http://host[:port]/path → (host:port, host, path).
http://host[:port]/path