lowercase all headers added with --add-header

because v4 signing needs them to be lowercased and in alphabetical
order for the signing process to work correctly.
use lower() in the debug message too
Merge branch 'bug/lowercase-headers' into upstream-master