Web socket chat example.