Determine the addresses executing node manages

Needed a way to determine the IPs the node executing the handler should be
managing.  This also included genericizing hash_addresses.