Bugfixes and improves to mod_fastcgi, for use with RADOS Gateway