Do TLS certificate checking in XMPP backends

Apparently, SleekXMPP doesn't do certificate verification by default. With these changes, we'll try to do certificate checking, but allow users to override it when needed.