Properly handle accept encoding