Added client side validation for hostname values (TUI-129)