Added compression support (was not tested, but should work)
Merge pull request #3 from Aragas/compression

Added compression support (Thanks Aragas!)