joyent/node — pull request #1922 by mmalecki (2011-10-23 09:27:42+00:00)
Title: net: `Server.listen`, `Server.close` and `Socket.connect` return `this`

Just a syntactic sugar for doing, for example:

```javascript
var server = net.createServer(function (c) {
c.end('goodbye, cruel world!\r\n');
server.close().on('close', function () {
console.log('really, goodbye!');
});
}).listen(1337);
```