Support XmppFramework.
Merge pull request #3 from hailg/master

I change something in the parser so it can works normally with XMPPFramework