joyent/node — pull request #5001 by indutny (2013-03-13 12:54:16+00:00)
Title: net: handle 'finish' event only after 'connect'

see #4997

/cc @bnoordhuis