simple web socket chat sample.