Dear Manex,
I had the same problem, the only solution I have found is the following:
1. Connect through SSH
2. Go to /usr/bin
3. Move curl to curl2
4. Create a file "curl", for example "vi curl"
5. The content should be the following:
#!/bin/bash
curl2 --insecure $@
6. Give execution...