Lightweight XMPP daemon in C++