It's mq.mode instead of mq.web.mode to configure the connection mode