Add a method to get public IP address, covers EC2 and SCE.
Fix for loading public IP from the EC2 API.