Websocket-based primes example