Fix some issue

- Ignored not a ipv4, ipv6 packets case.
- Ignored not a tcp packets case.
- When pacp file had incomplete connections got a KeyError
  in dict.

Please help me to review code, thanks.