fix heartbeat checking bugs
Merge branch 'master' of github.com:pomelonode/pomelo-jsclient-websocket