Fix handling of zero length gzip-encoded replies.

Address issue in which gzip-encoded content of zero length is sent with
a length of zero, rather than a correct gzip-encoding.  See bug #1934.

Note: zero length content is currently generated in response to style
requests when nojs or noBootStyleResponse are true.