Adding in is_hostname_safe()