Correct zlib matching to RFC rules.