pub fn parse_socket_addr(v: &str) -> Result<SocketAddr, String>