* upgrade curl to 7.65.3 * re-add modifications to curl * remove curl 7.63.0 * update LICENSES file * fix error handling