ifdefed stuff only available in newer curl releases
Merge pull request #149 from prymitive/alarm_curl

ifdefed stuff only available in newer curl releases