give long to curl_easy_setopt()
clean up included headers