Provides the option of custom message encoding / decoding.