snappy codec with stream framing