fix: Added some sanity checks on dns parse and signature

Sanity checks on number of question / answers added to dns parser
We also added some size checks on dns signature and some tests for
index-of-bytes operator