func New(monitor monitor.Monitor) lua.Module {
	l := &libnet{monitor}
	m := &lua.NativeModule{
		Name:    "net",
		Version: "1.0",
	}
	m.Register("getmac", l.GetMac)
	m.Register("addr", l.Addr)
	return m
}
New creates a new lua module exposing the stats
package net
import (
	"errors"
	"net"
	"strings"
	"github.com/emitter-io/address"
	"github.com/kelindar/lua"
	"github.com/kelindar/talaria/internal/monitor"
)
const ctxTag = "net"