Add support for Accept-Encoding header.

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