Add groundwork for custom protocols such as forge in a really cool manner - has not been tested, so may be a regression on prior build.