added websocket support side-by-side of mqtt