Fix for binary IPs containing backslashes

The plugin adapts two functions from EllisLab's IP to Nation module
(because the stuff those functions do is waay over my head). This update
integrates recent changes to that module into those functions.