https://www.php-resource.de/forum/php-developer-forum/21885-http-header-auslesen