Added ability to set hook on resource bind. Resolves #50
Added ability to set hook on resource bind. Resolves #50

xmppjs/xmpp.js,node-xmpp/node-xmpp,xmppjs/xmpp.js,ggozad/node-xmpp,ggozad/node-xmpp,jimzhou1986/node-xmpp-server,node-xmpp/node-xmpp