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