[FastCgi] Use TryParse and nullable types