You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: proxy.go
    path of file: ./repos/ligolo-ng/pkg/proxy
    
    the code of the file until where you have to start completion: package proxy

import (
	"context"
	"github.com/hashicorp/yamux"
	"github.com/nicocha30/ligolo-ng/pkg/proxy/netstack"
	"github.com/sirupsen/logrus"
)

const (
	MaxConnectionHandler = 4096
)

type LigoloTunnel struct {
	nstack *netstack.NetStack
}

func NewLigoloTun
    
func NewLigoloTunnel(stackSettings netstack.StackSettings) (*LigoloTunnel, error) {
	// Create a new stack, but without connPool.
	// The connPool will be created when using the *start* command
	nstack, err := netstack.NewStack(stackSettings, nil)
	if err != nil {
		return nil, err
	}
	return &LigoloTunnel{nstack: nstack}, nil
}