Add an option to verify peers_identifier when it's ASN.1 distinguished name. It should fix #2904