Add support for cloud ip detection