http_parse_headers updated

httpd_parse_headers updated to use preg_replace_callback