transport-xmpp: Fix NPE in connect()