if (isset ($_SERVER['HTTP_ACCEPT']) &&
stristr ($_SERVER['HTTP_ACCEPT'], 'application/xhtml+xml'))
+{
$content_type = 'application/xhtml+xml; charset=utf-8';
+}
header('Content-Type: ' . $content_type);
+header('x-ua-compatible: ie=edge');
$protocol = (bool)is_ssl() ? 'https' : 'http';