Adding RpcStub interface

To support integrating with RPCs other than Go style