Use buildin HeaderEncoder when not set in an instance of Message
Revert d0c545a4