Introducing site()->config()->getDisplayURL()

config->getDisplayURL() will return the URL of the site without a URI
schema, allowing sites to much more easily swap between SSL and
unencrypted connections.