make gzipped streaming work in chrome

i think this is only needed because each chunk is small it doesn't get flushed. i'm just guessing, though.