TeleHash / JSON + UDP + DHT = Freedom. Discovered via git-annex: a distributed messaging technique with interesting properties. Strongly P2P-oriented, strongly focused on encryption, and designed from the outset as middleware rather than primarily as a human-to-human protocol like XMPP. Definitely worth watching what comes out of this.