make curl header check case insensitive
Merge pull request #352 from m-bene/CurlHeaderCase

make curl header check case insensitive