Rework the fcgi code a bit.

UCC git Repository :: git.ucc.asn.au