Add a defined? check to fix older versions of OpenSSL.

Older versions of OpenSSL did not export the OP_NO_COMPRESSION constant,
so users running metasploit on systems with old copies of openssl
would throw a NameError since the constant did not exist.
Fix older OpenSSL compat with compression