Refactor to allow tezos-client to use binary mode
The MR !3683 (merged) adds a parameter to client config to define which media_type is used when calling a RPC. This configuration can be changed with a CLI parameter when launching the client. However, the tezos-client do not use the media_type parameter, this configuration (and the CLI parameter) is therefore unusable.
Allowing tezos-client to use binary mode would allow testing the binary mode.
This issue requires the issue nomadic-labs/resto#14 (closed) to be fixed.
Edited by Killian Delarue