Added method getPublicIpAddress()