in reply to Capture Request and Response in Livehttpheaders
Have you looked at Sniffer::HTTP?
Otherwise - what does your question have to do with Perl?