parsing of Accept-Language and sending of Content-Language headers