code: HeaderField getHeaderField(int index) {
      HeaderEntry entry = head;
      while(index-- >= 0) {
        entry = entry.before;
      }
      return entry;
    }
docs: Return the header field at the given index.
  Exposed for testing.