Update to net.Dial upstream changes.

Fixes build