allow manually flushing gzipped responses

As of now there's no easy way to flush gzipped responses.
This is especially needed for Server-Sent Events.