Make isConnected() a prototypal method on SailsSocket.