Gets the scheme and HTTP host.
If the URL was called with basic authentication, the user and the password are not added to the generated string.
string The scheme and HTTP host
public function getSchemeAndHttpHost() {
return $this
->getScheme() . '://' . $this
->getHttpHost();
}