fn parse_bind_addr(s: &str) -> Result<NetAddr, String>
Parse an address to bind to, and check that it is well-formed, so that a mistyped host fails at startup rather than when the first peer cannot reach us.