SSL Scanner in Ruby