Implementation of RFC 6120 (XMPP Core)