updated curl options from boolean to integer for libcurl >v7.28 (#31)