added methods for converting headers between h1.1 and h2