pub fn string_to_socket_addr(addr_string: &str) -> Result<SocketAddr, Error>
convert string to socket addr