add parameter to run curl in insecure mode: thanks Thorsten!

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>