Thanks a lot Oleg, that resolves my problem. Sorry to bother you.
I want to ask one more question, is my approach a right way to implement a header/content filtering-altering web proxy? Or could you suggest a more elegant way to handle this depending on Http Components? Thanks again.
