Make loading IP lists exponentially faster

Inserting entries into a range list currently requires exponential time
with relation to the number of entries in the list. Instead of doing a
linear search over a sorted list, do a binary search instead.