fixed a bug in the parse_tcp_data/1 function.