syncpub/sub example, plus a bit of refactoring in the SubSocketBuilder.