title: Reconnection of Client when server reboots in WebSocket
body: <p>I am using web socket using PHP5 and the Chrome browser as client.
  I have taken the code from the site <a href="http://code.google.com/p/phpwebsocket/" rel="noreferrer">http://code.google.com/p/phpwebsocket/</a>.</p>
  
  <p>I run the server, and the client is also connected. I can chat as well.
  Now when I restart the server (by killing it and starting it again), the
  client gets the disconnected information, but automatically doesn't reconnect with server when I send the message.</p>
  
  <p>How to achieve this? Like when I get the dis-connected information, should I check it and send it to JavaScript to refresh the page or reconnect?</p>