Add checks for libcurl