Upgrade curl to avoid blocking in ssl handshake