update connect() calls to correctly return NodeSocket object.

Add a return value to the connect()/createConnection() call in the "net" module to correctly return the socket instead of void.