fix curl crashing master on slow dns responses
Merge pull request #315 from prymitive/curl_bug

fix curl crashing master on slow dns responses