Fix IP version field and hop limit in keyed IPv6 tunnel app

The IP version field was set incorrectly.

The default hop limit was changed from 0 to 64 and made configurable.