Bug #3400 & #3599 : adding tools to handle request objects easily