Websocket_chat_poc is a project mainly written in PHP, it's free.
Just a proof of concept of live webchat using websockets.
This project should provide the following :
Just a quick written POC !