Setting websocket in the IO config