fix decryption of ipv6 headers (thanks Tomas Kuliavas)