Add some additional error handing if there are mis-encoding header values in a message