use dict generator where it's possible
implementation of repr(Headers)
dict-like classes optimizations