Cast input to IpRangeList

Reduce the overhead of testing for membership in a long IpRangeList by
ensuring that the provided input has been cast to an integer before
checking each contained range.

Closes #14