Retrieve headers case-insensitively

COUCHDB-1637