attempt to fix issue 1296, ipv6 header parsing