Making the websockets listening configuration configurable