XMPP component (XEP-0114) framework in PHP