Fix various problems

Here are a few fixes I could find.

- OPT have an empty name, so we take this into account in nameUnpack
- Fix header writing
- Fix typos on Edns
- Remove temporary OPT added in additional
- Remove unneeded counts variable
- Fix PARSE_OPT case with count stuff