Added possible to encrypt for certain ips.