A simple websocket example with echo and chat.