I plan to use HTML5, php, websockets, jQuery & MySql as backend (if saving, etc is required).
However, I have no prior experience in websockets.
This is an example I found: 
<http://www.codeproject.com/KB/aspnet/WebSocketWhiteBoard.aspx>
However they are taking websockets from localserver. I wish to use the websocket API provided. 
<http://dev.w3.org/html5/websockets/>
We need to begin with a handshake between the client & server. Can you help me as to how I can do so?
Thanks!