Removed CurlException; changed to throw Exception instead.
Added request validation to pick up errors (e.g. no URL, no PUTFile) in requests.