[refactor] Use `node-ip` module to work with IP addresses.

Makes working with private IPs much easier.