improve CurlException to contains returned data