Make it possible to use multiple proxy handlers in a pipeline

- Add the test cases that involve multiple intermediary proxy servers
- Implement intermediary proxy servers