Added IPv6 (ipversion) and TCP (protocol) support