add optional DTLS option for domain-server to node communication

- closes #2608 
- closes #2610 
- closes #1842