Add support for SSL cert wildcard checking.
Close IPv6 test socket.