calling unregister hook before disconnect handler on sockjs socket close
Merge pull request #481 from winash/master

Call Unregister hook before sockjs disconnect