FastCGI fixes

Fixes issue #10 where the environ swapping causes a crash due to the old_env no longer being valid.