Converting hook execution to RPC.

Now the rest is all streaming RPCs.