Code from my 0MQ session at Oredev 2013