Websockets chat based on phpdaemon