Tweak debug printing for media.

This allows debug printing of message bodies in the case that the debuglevel
is 4, so that it's still possible to include full request/response contents if
desired.