Pass lang header along when making API requests. (bug 874926)

Currently only `navigator.language` is consulted.