[FastCgi] Improve type safety
[FastCgi] Cleaning code
[FastCgi] Whitespace fix