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