I am trying to select the appropriate SSL certificate to use in a self hosted Kestrel server. The following code works fine for a DNS entry, but not for either an IP address