update decompress middleware and tests

- detect case-insensitive header
- encoding values are listed in the order they were applied
- remove processed encoding from header
add Accept-Encoding in decompress middleware if missing
update 'Connection: close' detection
Merge pull request #319 from burns/decompress

Decompress middleware updates