[umessage] Work around bug in python 3's decode_header [applied]