Some more refactoring.
Some more refactoring.

keiosweb/web-socket-js,gimite/web-socket-js,hehuabing/web-socket-js,nitzo/web-socket-js,nitzo/web-socket-js,hehuabing/web-socket-js,hehuabing/web-socket-js,gimite/web-socket-js,zhangxingits/web-socket-js,keiosweb/web-socket-js,hanicker/web-socket-js,zhangxingits/web-socket-js,nitzo/web-socket-js,zhangxingits/web-socket-js,gimite/web-socket-js,keiosweb/web-socket-js,hanicker/web-socket-js,hanicker/web-socket-js