func NewDialer(clientID string) *Dialer {
	return &Dialer{
		Timeout:   10 * time.Second,
		DualStack: true,
		ClientID:  clientID,
	}
}
NewDialer creates a new dialer.
package jocko
import (
	"context"
	"crypto/tls"
	"encoding/binary"
	"io"
	"math"
	"net"
	"time"
)
const (
	defaultRTT = 1 * time.Second
	maxTimeout = time.Duration(math.MaxInt32) * time.Millisecond
	minTimeout = time.Duration(math.MinInt32) * time.Millisecond
)
type Dialer struct {
	ClientID string
	Timeout time.Duration
	Deadline time.Time
	LocalAddr net.Addr
	RemoteAddr net.Addr
	KeepAlive time.Duration
	FallbackDelay time.Duration
	Resolver Resolver
	TLS *tls.Config
	DualStack bool
	SASL *SASL
}
var (
	defaultDialer = NewDialer("jocko")
)