kwiatkk1's pull re curl in lenient ssl mode