Maybe we could use a more generally applicable array find? Something like `return Array.find(this._liveSockets, function(socket) { ... })`. Closure lib, for instance, has goog.array.find (http://closure-library.googlecode.com/svn/docs/closure_goog_array_array.js.html).