LearnBoost/socket.io-client — pull request #407 by zzzaaa (2012-03-16 10:56:48+00:00)
Title: "on window close" disconnect. unload. beforeunload.

We use confirm window before close chat.
If user click "dont close" his got disconnect anyway.