Added method to get IP even when behind a NAT.