using pkg options lsof-more-secure and lsof-less-secure-sockets. Also change the way the option are applied, the same way that the Customize script does and it works on all supported dialects.