some examples to work from
my swig stuff looks different to the author
correct default library location for libnanomsg
regenerate swig bindings from my bugfix