Added option to configure custom request content processing logic

This patch adds option to configure custom request content processing logic which gets called before request content is sent to tracker.
the default value is not needed here because it is set to default above (it's best to avoid duplication when possible)