Truncate binary data when logging request/response bodies.