title: Client-Server example with Scala actors
body: <p>What is the best way to implement the following example ?</p>
  
  <ul>
  <li><p>Actor <code>server</code> receives <code>Requests</code>,
  handles them, creates a new <code>Response</code>
  for each <code>Request</code> and sends the <code>Response</code> back
  to the <code>Request</code> sender.</p></li>
  <li><p>Actor <code>client</code> sends <code>Requests</code> and
  receives <code>Responses</code>.</p></li>
  </ul>
  
  <p>All this communication is asynchronous and hence it uses <code>react</code>.</p>
  
  <p>This is just an example and so it should not handle all those cases like <code>server</code> is down, <code>client</code> is stuck, etc. It should be just concise and expressive.    </p>