I am trying to sniff HTTP data through libpcap and get all the http contents (header+payload) after processing the TCP payload.
As per my discussion at Writing an http s
To reconstruct the data contained in a pcap file a wonderful tool is Xplico: http://www.xplico.org