Bug20 gzip compression

Hey!

I had a first go at it. Tell me if it's the kind of thing you want.

Smyds.