users.authToken() again before it expires and reconnecting.
Event handling
onEvent receives each decoded event. Branch on evt.api for the event type
(newMessage, and others). Keep the handler fast — offload heavy work to a
queue so you don’t block the socket.