title: socket.io: How to send data to server when the socket disconnect?
body: <p>I want to send some data with <code>disconnect</code> emit when the socket is disconnected.<br>
  Is it possible to do this or i have to emit <code>disconnect</code> myself?<br>
  I'm using socket.io-1.0<br> thanks.</p>