Pass --http1.1 to curl to work around bugs.
This should be done in a better way. curl 7.60 won't have this bug, and
7.29 doesn't have http/2 support so it doesn't have the bug either.
Should figure out which versions are affected and just pass the flag for