avoid treating HTTP redirections or status codes generated in jsonrpc2 functions as error exceptions