Simple tcp analyzer script