Web Socket Client Template