[PATCH 03/12] domain_conf: move address validation functions to domain_validate.c