Using a plugin framework for adding XEPs. Embedding PacketError inside
XMPPException.