use the native go snappy library to avoid dependent libraries. rbuf improvmenets merged.