Websockets chat based on compound and socket.io