lib/tls: Add new 'tls priority' option