fix #640: HPACK wasn't emitting header table entries to spec.

(cherry picked from commit ca0aff1e48984c1e588a38a6ebf72b287ea5f2f8)
Simplify HPACK E.1.4. Indexed Header Field from Static Table

(cherry picked from commit d4388929749320488237ae0259e374dc58c36c00)