Avoid sending empty chunks in gzip streaming before end of payload
Merge pull request #21 from ChrisBeaumont/master

Avoid sending empty chunks in gzip streaming before end of payload