Clean up server.js

Add the ability to automatically send the current actor’s return
address to cast; use this ability to move code out of server.js and
into player.act where it belongs; try to define the ui->actor messages
and cleanly separate them from actor->ui message names.