update web socket demo

added the client;
update the server side, added a few new protocols