HttpHeaders() { head.before = head.after = head; }
void remove() { before.after = after; after.before = before; }
void addBefore(HeaderEntry e) { after = e; before = e.before; before.after = this; after.before = this; }
void clearHeaders() { for (int i = 0; i < entries.length; i++) { entries[i] = null; } head.before = head.after = head; }