Snappy framing format for Haskell