bug 765642: Expose zlib to templates, to handle compressed HTTP responses