Thank you, yep, exactly :(
I spend few hours trying various ways...
I read somewhere in man long time ago - it don't give full control on outgoing headers. So that behavior predictable. But since I'm not looking to get any additional control and just want to get headers, which was already sent I hope there is some way to achieve that.
So that's why I'm seeking for Perl wisdom here :)