Improved FastCGI detection.