Fix endianess issue with IP addresses in GetLocalAddress