Support for HTTP tunneling

I had to make some fixes here and there, and I added the ability to replace users so I can some test cases.

I wanted to make or use predicate to match request_param / header but I don't have much time for to make it better right now.