I have investigated the PKCS11 situation in that other thread: Can't Load Security Device in Firefox Snap. @sam_vde: I would appreciate if you could test and confirm my findings.
Native host messaging is being tracked by bug #1741074.
There are no obvious solutions to either as yet.