src: lint lib/net.js