Also tighten validation of server names by forbidding invalid characters in IPv6 addresses and empty domain labels.