make web socket host configurable