fix for https://bugs.launchpad.net/karl3/+bug/1337812 where unicode headers will be sent to server