Improved Exception Throwing on CurlClient