monkey patch a bug in xmpp4r and add a couple more config options