gnutls: handle IP address in cert name check