calculate ipv6 payload length