Added test for header parsing
Better handling end of headers
Improved header handling

Now handles folded header fields

Added function to compact headers (pre-generates fields)