send a close msg with id to '/sys/close' when websockets closed
Merge pull request #32 from seansay/close-msg

send a close msg with userId to '/sys/close' when websockets closed