net: core: let's use native isxdigit instead of custom