I added an "Action" attribute and returned it using the same namespace. My "onInvite" handler looks for the "action==='deny' and handles it accordingly.
connection().send($msg({ to: toJid, from: fromJid}).c('x', { xmlns: 'jabber:x:conference', jid: roomJid, action: 'deny' }).tree());