TS-2031: Prevent duplicate SSL SNI name registration

If you have two certs that has the same CNs, the last one wins in
the SNI negotiation. We not detect this case, issue a warning and
preserve the existing registration.