Fix IP checksum calculation
Fix SIGSEGV when setting IP TTL field

Increment length of TemplateSet when adding packet templates and fix for
loop when overwriting IP TTL value of packets.
Merge pull request #26 from kicdu/bug/ttl

Fix IP TTL