`net.ssl_version = @ssl_version if net.respond_to?(:ssl_version=)`

What about that? Ugly, I know, but [Ruby 1.8 will be retired in June](http://www.ruby-lang.org/en/news/2011/10/06/plans-for-1-8-7/) anyway.