fixup! Introducing helper function to validate IPv4 address strings.
fixup! Checking if FQDN is actually IPv6 address string and handling that case.
Sending 'Not allowed' error message before closing the connection.