Fix issue with web socket chat example