Simple binary serialization layer over Nanomsg haskell bindings