Move SimpleSAML_Utilities::getServerHosst(), getServerHTTPS() and getServerPort() to SimpleSAML\Utils\HTTP.