add /mid handler for MessageID mapping