beam: Router can route beam messages with a convenient set of rules and handlers
beam/examples/beamsh: use beam.Router to simplify the 'stdio' command