urlencode: add option for mq's syntax