Check headers case-insensitively.

Here's a patch to make sure headers names are checked case-insensitively.

http://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4.2
"Field names are case-insensitive."