chat sample using websokect.io