pub async fn lookup_host<T>(use_ipv4: bool, host: T) -> Result<SocketAddr> where
    T: ToSocketAddrs