First working version of the coding and decoding of DNS datagrams.
Note that this not include any unit tests yet, so there maybe still some
bugs left.