Fix problem with webserver using wrong header encoding for some requests.