Snappy framed stream io