[umessage] Fix header decoding with python 3.3+ [applied]