Provide more detail in exceptions resulting from curl errors