If 'fail' option is provided, give curl's error message to callback as 'err'

Hello. We are using your amazing library in production, however we wanted an ability to log remote errors more accurately.  Maybe you could accept this request if you think that other users may find such functionality useful. Thank you very much.