moving to libcurl