validate ip addresses
cleanup ip address handling
fix: set local_ip within configure