Added gzip compression. Fixes issue #23.

This feature can be toggled on and off simply by using the `compress` option in the config. The default is currently off as it requires the `gzip` utility be present on the host machine.