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.