add options.gzip to control gzip, support stream's gzip