return hub after web socket handler creation.