Fixes #161
Changed header map to use a TreeMap with a Case Insensitive comparator, which keeps the framework in compliance with RFC2616 standard, section 4.2.