anchor.diff:   *     dispose();
    */
   class TcpServer {
  -  static bool _inited = false;
  +  /**
  +   * A map from server socketIds to StreamControllers. We're notified about
  +   * incoming `accept` connections based on the socketId. We want to use that
  +   * information to notify the correct StreamController.
  +   */
  +  static Map<int, StreamController> _serverMap;
   
     final int _socketId;
     final int port;
  
positive.code:  *     dispose();
   */
  class TcpClient {
    static bool _inited = false;
  
    Future _lastWrite = new Future.value();
    final int _socketId;
  
negative.code:     });
    }
  
    static void _initListener() {
      _serverMap = {};
  
      chrome.sockets.tcpServer.onAccept.listen((chrome.AcceptInfo info) {
        StreamController controller = _serverMap[info.socketId];
        if (controller != null) {
          controller.add(new TcpClient._fromSocketId(info.clientSocketId, true));
        }
      });
    }
  
    TcpServer._(this._socketId, this.port) {
      if (_serverMap == null) _initListener();
  
      _serverMap[_socketId] = new StreamController();
    }
  
    Stream<TcpClient> get onAccept => _serverMap[_socketId].stream;
  