[FastCgi] Use TryParse instead of custom code for bool