We need to convert ip's to unicode as the Dispersy database does not
accept strings