Use Node OS abstraction

`master` discovers my IPv6 address and returns it with the first four hex digits removed. This version discovers my IPv4 or IPv6 address correctly.