Header processing, defaults, content length