fix a typo in DomainServer.cpp
move DTLS socket changes to LimitedNodeList
take pointer of optValue and not actual optValue