Compare HTTP headers case-insensitively

Without this change it's impossible to call the HTTP RPC API from Node.js.

See also <https://groups.google.com/d/msg/nodejs/XIU55IYtfJo/feUp9Fz7p14J>