Basic curl wrapper for OCaml