Improved host matching for DHCP