trap router exit

TODO trap keepalive exit
init ping
Merge branch 'master' of github.com:zhangjiayin/ecomet
simple chat demo