fix HTTP_CONTENT_TYPE mime detection for PHP 5.4 webserver