moved xmppframework.h here to avoid double cross dependencies