No yoda conditions
Fix logic
Fix docblock
Remove old classes
Simple conditional instead of switch
Remove unneeded space
Rename addGenericHeader to setHeader
Remove RawHeader
Only arrays in Allow/Content-Language in order to simplify the API
Fix variable name in docblock
Remove traits to simplify exception messages