Use curl instead of wget, as older wget doesnt support SNI