joyent/node — pull request #4671 by indutny (2013-01-28 09:09:27+00:00)
Title: net: initialize TCPWrap when receiving socket

TCPWrap::Initialize() and PipeWrap::Initialize() should be called before
any data will be read from received socket. But, because of lazy
initialization of these bindings, Initialize() method isn't called.

Init bindings manually upon socket receiving.

See #4669

/cc @bnoordhuis