[FastCgi] Clean up Request, use modern features

Cleaned up the FastCGI Request class, using modern language features
to make code safer, cleaner, shorter and easier to read.