nanomsg wrapper for CPython and Pypy (via cffi)