Improve the detection of zlib support, and handling of the results, for
mod_sftp.