var password = "abc123"

$portal(e => {
  if (e.password != password)
    send(e, {reason:"Password does not match."});
  else
    send(e, $self)
}, 5678);

$receiver(e => {
  log.console(`Got message: ${e}`)
  send(e, {greet: "Hello back!"})
  $delay(_ => $stop(), 0.2)
})
