Allow Accept-Encoding header to be a list
Remove unused import
Merge pull request #314 from nicl/gzip-support-bug

Allow Accept-Encoding header to be a list (for GZip support)