parse status header code from cgi scripts