Probably should throw an exception when the environment is lacking curl.