Refactoring DTLS and Nice