make header names case-insensitive and  compatiable with ring-core 1.2.1