Add support for Accept-Encoding header.

The header is an array of strings, and so uses the generic array functions.

Signed-off-by: James Cloos <cloos@jhcloos.com>