Main is the main function for the multicurl tool so it can be called from testscript.
Note that we could use the (new in 1.39) log.Fatalf that doesn't panic for cli tools but
it calling os.Exit directly means it doesn't work with the code coverage from `testscript`.