(_protonSslEngineProvider.createSslEngine(_peerDetails),
_inputProcessor, _outputProcessor);
if (_domain.allowUnsecuredClient() && _domain.getMode() == SslDomain.Mode.SERVER)
{
TransportWrapper plainTransportWrapper = new PlainTransportWrapper
(_outputProcessor, _inputProcessor);
_transportWrapper = new SslHandshakeSniffingTransportWrapper
(sslTransportWrapper, plainTransportWrapper);
}
else