Set max_keep_alive_requests to -1, to allow unlimited number of requests within a same websocket connection.
The EiffelWeb framework provides a websocket server and websocket client solution. This example demonstrates how to build a simple websocket service and consume it from a html+javascript page. This is a very simple chat application.