rpc_test: factor parts of bootstrapAndFulfill into separate functions
rpc_test: factor parts of bootstrapAndFulfill into separate functions

I plan to re-use much of this to write tests with messages that use
SenderPromise instead of SenderHosted.

zombiezen/go-capnproto2,zombiezen/go-capnproto2