Added script sample for socket use

Client sessions with socket.io not implemented....yet.