Fixed a potential typhoeus/libcurl bug