private SSLSelectorHandler startTLSServer(TargetTuple targetTuple,
ProtocolChainInstanceHandler tlsInstanceHandler) {
SSLSelectorHandler tlsSelector =
createTLSEndpoint(targetTuple.getSocketAddress());
SelectionKeyHandler keyHandler =
createSelectionKeyHandler(keepAliveTimeoutInSeconds);
tlsSelector.setSelectionKeyHandler(keyHandler);
tlsSelector.setProtocolChainInstanceHandler(tlsInstanceHandler);