title: Receiving Error Domain=kCFErrorDomainCFNetwork Code=2 when attempting to read from ReadStream
body: <p>I'm attempting to synchronously read from a <code>CFReadStream</code> objected created by <code>CFStreamCreatePairWithSocketToHost</code>. The stream opened fine but when I attempt to invoke <code>CFReadStreamRead</code> on it in a loop, CFReadStreamRead() returns -1 and the resulting error is: </p>
  
  <p><code>Error Domain=kCFErrorDomainCFNetwork Code=2 "The operation couldn’t be completed. (kCFErrorDomainCFNetwork error 2.)" UserInfo=0x14a920 {kCFGetAddrInfoFailureKey=8}</code></p>
  
  <p>I'm also receiving this same exact error when using this ReadStream asynchronously- the first callback I receive is this error.</p>