Compress the content of large JSON-RPC request
The client could send the JSON compressed to the server to reduce the bandwidth. But the client should retry without compression if the server respond with 415 Unsupported Media Type and thus stop trying to compress for any future requests.