remove isipv4 function
import is_ip_v6 re2c test
scanner: add hex class and simplify ipv4