Added NS_DNS_MESSAGE ns_set_protocol_dns()

Slightly refactored captive DNS server example to use `NS_DNS_MESSAGE` event