Fixed some bugs (copied from https://github.com/priyadi/roundcube-converse.js-xmpp-plugin/tree/master/php/xmpp-prebind-php)
Fixed some bugs (copied from https://github.com/priyadi/roundcube-converse.js-xmpp-plugin/tree/master/php/xmpp-prebind-php)

hejazee/xmpp-prebind-php