LearnBoost/socket.io-client — pull request #503 by kanongil (2012-12-10 13:48:17+00:00)
Title: Disconnect socket once all namespaces are disconnected

In order to support this, only user requested namespaces are registered.

This will also fix an issue where explicitly disconnected namespaces
don't stop receiving events through Socket#publish().