pub(crate) async fn build_client( data_dir: &Path, ) -> Result<(Client, ClientSession)>
Build a new client.