add template for hpack