enable client events for web sockets