pub fn parse_origin(s: &str) -> Option<Uri>
<scheme>://<host>[:<port>][/] only; the scheme is not checked.
<scheme>://<host>[:<port>][/]