WebSocket-ppgave fra MCSD-kurs. Kapittel 10 fra boken Programming in HTML5 with JavaScript and CSS3.