Removed the OpenSSL::SSL::SSLContext::METHODS method call to work with older versions of jruby-openssl gem.