net: forward Socket#end cb argument to Duplex#end

The callback parameter was being dropped when Socket.prototype.end
called Duplex.prototype.end. This remedies that situation.

Fixes: https://github.com/joyent/node/issues/8759