public void setEncryptionProtocols( Set<String> protocols ) {
        if ( protocols == null ) {
            setEncryptionProtocols( new String[0] );
        } else {
            setEncryptionProtocols( protocols.toArray( new String[ protocols.size() ] ) );
        }
    }
Defines the collection of protocols (by name) that can be used for encryption of connections.

When non-empty, the list is intended to specify those protocols (from a larger collection of implementation-
supported protocols) that can be used to establish encryption. An empty list will cause an implementation
default to be used.

The order over which values are presented can, but is not guaranteed to, indicate preference.

@param protocols An (ordered) set of protocol names, can be null.
xmppserver/src/main/java/org/jivesoftware/openfire/spi/ConnectionListener.java