Refactoring transport into a hub, transport and message context.
Mirror more closely how we will be working with RPC methods.
Making sure that tests compile, removing tests that rely of brittle fake stuff
Fixing test
Minor