Use gzip to compress the data in memory on server

- this will be somewhat better for large transfers