fix validate_hostname (with accept '__base__')