fixed silly use of .FQDN.split(.)[0] instead of .Hostname, check validity of hostnames sent by clients