Fix for Content-Type header in multipart POST uploads with requests-2+
api.request: return more descriptive error messages, derived from returned json, if possible