update to work with latest XMPPFramework