Move DNS packet serialization into mDNS service

This ensures that all middleware + the final application (handler) has
full access to the request and response message objects.

The current tests will need to be re-worked in a future commit.

Change-Id: I1ee3ec0cd5384af31592e075cb08b137ba9a353e