fix invalid time stamp bug for live capture
add read traffic from pcap file