added protocol config - mqtt and websocket