Compatability with a new `requests` versions