simple chat based on websockets