dot-check_curl function

Check for supported curl version