Special_IP class: improved IP matching