PHP: Try to detect broken libcurl early.