get details about the compression associated with a
If compression has been negotiated for an ssl session,
() returns the
id for the compression method, or 0 otherwise. The only built-in supported
compression method is zlib, which has an id of 1.
() first appeared
in OpenSSL 1.0.1 and has been available since OpenBSD