Handle Accept-Encoding values with spaces, such as curl.

Fixes #17
Test with Go 1.3