Fix C2S session close on server shutdown
Merge branch 'master' of github.com:processone/ejabberd