Clean up metric names.

* Record `updates.handled` only if the update is flushed to the client.
* `updates.client.{connect, disconnect}` => `socket`.
* `updates.clients` => `socket.connected`.
* Add `updates.routed.{invalid, unknown, error}` counters to match the
  `updates.appserver.*` counters.