Support for the Ruby 2.4 series has ended. See here for reference.
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