Allow a Dialer function to be set instead of a net.Dialer struct