http://u.qdnx.org/file/-20151017T000827-rhbvhub.html
The prosody !XMPP server has a mod_onions module that can do federation between #Tor .onion hidden services, to mitigate metadata analysis and add an additional layer of security. See http://url.federati.net/jInDF for more info about #XMPP over Tor.