reader: add deflate/snappy compression
Merge pull request #4 from mreiferson/compression_4

support compression feature negotiation