OS-FCGI 1.3.2, check invalid headers to prevent crash