title: Simple OS X TCP forwarding server/service
body: <p>As part of a TDD (test driven development) project I want a simple OSX service/server that simply forwards data between two clients. The purpose is to enable communication between one piece of code running in iOS (being tested) and another running in OS X.</p>
  
  <p>I think I need both parties to connect to the server for the duration of the test, which points at TCP</p>
  
  <p>There are lots of examples for creating simple clients using NSStream, but have failed to find what creates the Server side.</p>