implemented snappy compression

Added the ability to compress the framebody using snappy.