check for curl extension, marked as optional