Xmpp 1st part (actually not XMPP at all)

This is just preparation work for the XMPP support: splitting words and IRC.