changing the headers to make them more useful, using set-cookie header for tests
moved tiny types object under header/types
completely refactored http headers to allow easier pattern matching and variable extraction in future