Add hub server code, for completeness.