Using actors with web sockets