func NewSNISplitterDialer(config DialerConfig) Dialer {
	return Dialer{
		Dialer: config.Dialer,
		Delay:  config.Delay,
		Splitter: func(b []byte) [][]byte {
			return SNISplitter(b, []byte(config.SNI))
		},
	}
}
NewSNISplitterDialer creates a new dialer that splits
outgoing messages such that the SNI should end up being
splitted into different TCP segments.
package internal
import (
	"time"
	"github.com/ooni/probe-engine/netx"
)
type DialerConfig struct {
	Dialer netx.Dialer
	Delay  time.Duration
	SNI    string
}