adding chat socket example