autoconf: Check for zlib (lib and header)
http: Check for client transfer-encoding support for static file requests
http: Implement gzip transfer-encoding for static files
http: Compress status and graphdata JSON responses too.
Clean out a little duplicate code.
http: adjust comments