Added gzip compression. Fixes issue #23.