pub fn parse_addr(s: &str) -> Result<String, String>Expand description
Normalise what someone types after --addr into host:port.
http:// because that is what they will copy out of a browser, and a bare
host because that is what they will type. Port 4318 is where the query API
lives, so it is the only sensible default.