Handles IPs better to be compatible with libcloud