Refactoring of the DTLSConnector configuration.