[plugins] director: fcgi code cleanups and documentation
update