HTML5 WebSocket Echo from book: Getting Started with HTML5 WebSocket Programmingby Vangos Pterneas Status