HttpRpcTransport needs a class-level variable for encoding