add license headers

Original license was added to
http://www.nlnetlabs.nl/publications/hsm/examples/
so I have copied it to the source files.