Fix support for jabberd2 with GSSAPI

The following minimal changes allow SleekXMPP to connect to a jabberd2 server using Kerberos.  Commit a918bf3 breaks an RFC so it's probably more contentious than the other two.