remove libcurl dependency