JsonWireProtocol dictates (i.e., "must") that all commands accept a cont...

...ent-type of application/json;charset=UTF-8

also, set Content-Length to 0 explicitly when empty POST request; variation of an upstream patch by @OniOni