Fix nextTick usage in lib/net.js

See #3459.

Suggested reviewer: @isaacs