Added ssl and unsecure