added support for choosing default language, if no request header was received