DialWithSplitRetry returns a TCP connection that transparently retries by splitting the initial upstream segment if the socket closes without receiving a reply. Like net.Conn, it is intended for two-threaded use, with one thread calling Read and CloseRead, and another calling Write, ReadFrom, and C
(ctx context.Context, dialer *net.Dialer, addr *net.TCPAddr, stats *RetryStats)