net_get_local_ip: get local ip of default interface
used to punch p2p between 2nodes behind the same NAT