Fixed a logic error with my recent gzip patch
Fixed a logic error with my recent gzip patch

The gzip patch I submitted recently assumes that apr_socket_data_get
returns with an error code if there is no data in the socket;
however, this is not always the case. This patch explicitly checks
for the data we want instead of relying on the error code to
indicate its presence.

fastly/monitor-core,fastly/monitor-core,mjzhou/monitor-core,fastly/monitor-core,dmourati/monitor-core,NoodlesNZ/monitor-core,phreakocious/monitor-core,mjzhou/monitor-core,mjzhou/monitor-core,torkelsson/monitor-core,torkelsson/monitor-core,ganglia/monitor-core,fastly/monitor-core,dmourati/monitor-core,sdgdsffdsfff/monitor-core,fastly/monitor-core,ganglia/monitor-core,sdgdsffdsfff/monitor-core,mjzhou/monitor-core,dmourati/monitor-core,mjzhou/monitor-core,lawrencewu/monitor-core,ganglia/monitor-core,phreakocious/monitor-core,NoodlesNZ/monitor-core,lawrencewu/monitor-core,dmourati/monitor-core,fastly/monitor-core,dmourati/monitor-core,NoodlesNZ/monitor-core,NoodlesNZ/monitor-core,ganglia/monitor-core,lawrencewu/monitor-core,phreakocious/monitor-core,ganglia/monitor-core,torkelsson/monitor-core,mjzhou/monitor-core,torkelsson/monitor-core,torkelsson/monitor-core,phreakocious/monitor-core,lawrencewu/monitor-core,torkelsson/monitor-core,dmourati/monitor-core,sdgdsffdsfff/monitor-core,phreakocious/monitor-core,fastly/monitor-core,lawrencewu/monitor-core,NoodlesNZ/monitor-core,NoodlesNZ/monitor-core,lawrencewu/monitor-core,NoodlesNZ/monitor-core,lawrencewu/monitor-core,torkelsson/monitor-core,mjzhou/monitor-core,phreakocious/monitor-core,ganglia/monitor-core,ganglia/monitor-core,sdgdsffdsfff/monitor-core,phreakocious/monitor-core,sdgdsffdsfff/monitor-core,sdgdsffdsfff/monitor-core,sdgdsffdsfff/monitor-core,ganglia/monitor-core