Allow to change the class of request & response objects to use.
Add unit tests.