Return error response instead of just HTTP code name

This will provide error messages from the RPC API rather than RestClient's internal HTTP error code name format, which is much more helpful for debugging problems.