updated Net::HTTP call to use ssl