Stop the XMPP parser passing null to callbacks.