[PATCH 1/7] src: add virHostnameValidate helper for validation