Fix DTLS setup (involves some test fixes as well)