Replace tick with connect, input, and disconnect.
Ticking at an arbitrary interval didn't seem as immediately useful as being able to respond directly to a client connecting, disconnecting, or sending a message, so I replaced the former with the latter. The discourse is currently only one-way, but that can be fixed soon.