[fix] `header` codec with retained header used wrong codec for the body

added test.
release bugfix version 0.3.0