when checking SSL certs are OK, check for wildcard certificates

fixes #175 (hopefully)