Attached is the patch, I went with the name *handle-http-errors-p* instead.

Regards,
Marijn