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.

This problem exists in both the v0.10 and v0.12 branches.

Fixes: https://github.com/joyent/node/issues/8759

R=@indutny