pub async fn connect( authorization: Authorization, endpoint: &str, hooks: Arc<dyn Hooks>, ) -> Result<Presence>