Support for the Ruby 2.1 series ended on March 31 2017. See here for details.
The default port for HTTPS URIs is 443, and the scheme is 'https:' rather than 'http:'. Other than that, HTTPS URIs are identical to HTTP URIs; see URI::HTTP.
A Default port of 443 for URI::HTTPS