Process RPC responses

Still tentative until RPC details are in.