module HTTPClient::Util

def https?(uri)

Checks if the given URI is https.
def https?(uri)
  uri.scheme && uri.scheme.downcase == 'https'
end