prepare for SCGI support
added SCGI support