protected static function httpXForwardedHost() { return preg_replace('/[^A-Za-z0-9[\\].:-]/', '', @$_SERVER['HTTP_X_FORWARDED_HOST']); }