when caculate totalDeflateRatio in server, use
httpResponse->contentLength() instead of strlen(httpResponse->payload()
to be bodyLength