Mastering the XMPP Framework Chapter 3