Use zlib.deflate instead of deflateRaw

Lack of zlib headers causes failure to inflate on some libraries used by IdPs (Okta, ADFS)