exposeWs method
Handles the actions of eventName with handler, in place of an
@ExposeWs method of that name. Needs no reflection.
Implementation
void exposeWs(String eventName, WebSocketActionHandler handler) {
_handlers[eventName] = handler;
}