parse (most of) RPCRequest