[FastCGI] Clean up Record, use modern features