Uses correlation ids for rpc calls

cc @sshillo @will2357 @wija