@Override
	public Socket accept() throws IOException {
		Socket socket = super.accept();

		final SSLSocket sslSocket = (SSLSocket) sslSocketFactory.createSocket(socket,
			socket.getInetAddress().getHostAddress(), socket.getPort(), true);
		sslSocket.setUseClientMode(false);
		if (enabledCipherSuites != null) {
			sslSocket.setEnabledCipherSuites(enabledCipherSuites);
		}
		if (enabledProtocols != null) {
			sslSocket.setEnabledProtocols(enabledProtocols);
		}
		sslSocket.setNeedClientAuth(needClientAuth);
		return sslSocket;
	}
Create SSL Server Socket using the default SSLContext
@param port
@param enabledCipherSuites
@param enabledProtocols
@param needClientAuth if true client authentication is required
@throws IOException
Ghidra/Features/GhidraServer/src/main/java/ghidra/server/remote/GhidraSSLServerSocket.java