fix for #301, headers being URI encoded