* @param client_supported the CSIv2 features supported by the client.
* @return an ssl port number or -1, if none.
*/
int getSslPortIfSupported( int client_required, int client_supported )
{
TLS_SEC_TRANS tls = getTlsSpecFromCSIComponent();
SSL ssl = (SSL) getComponent( TAG_SSL_SEC_TRANS.value, SSLHelper.class );
if (tls != null && useSsl( client_supported, client_required, tls.target_supports, tls.target_requires ))
{
if (logger.isDebugEnabled())