Wraps the nanomsg networking library using FFI (foreign function interface) for Ruby.