implements Tim Dysinger's nanomsg examples with python