Attempt #1

I'm definitely cargo culting here, but after a day of trying to understand what exactly streams are like, I'm putting this up for help and to return once I do some reading/testing.
This is going to blow up if options.gzip is undefined.