Require 'net/https' in addition to 'net/https'.