joyent/node — pull request #4464 by bentaber (2012-12-25 01:47:09+00:00)
Title: net: Allow socket end before connect

Fix a bug where .end on a socket before calling .connect will
throw an error.

Closes #4463