Add basic FCGI support

Adds basic fcgi support, usable by spawn-fcgi with lighttpd and all.