Allowing SSL connections with a self-signed certificate