Curl error: timed out before SSL handshake