anchor.diff:  
   /// Completes the given [request] by writing the [response] as HTML.
   void _sendHtml(HttpRequest request, String response) {
  -  _sendResponse(request, HttpStatus.OK, ContentType.HTML, response);
  +  _sendResponse(request, HttpStatus.OK,
  +      type: ContentType.HTML, response: UTF8.encode(response));
   }
   
   /// Completes the given [request] by writing the [response] as JSON.
   void _sendJson(HttpRequest request, Object response) {
  -  _sendResponse(
  -      request, HttpStatus.OK, ContentType.JSON, JSON.encode(response));
  +  _sendResponse(request, HttpStatus.OK,
  +      type: ContentType.JSON, response: UTF8.encode(JSON.encode(response)));
   }
   
   /// Completes the given [request] by writing the [response] as plain text.
   void _sendText(HttpRequest request, String response) {
  -  _sendResponse(request, HttpStatus.OK, ContentType.TEXT, response);
  +  _sendResponse(request, HttpStatus.OK,
  +      type: ContentType.TEXT, response: UTF8.encode(response));
   }
   
   /// Responds with the JSON test to the [request].
  
positive.code:   var arguments = parser.parse(args);
    var isolates = int.parse(arguments['isolates']);
    var dbConnections = int.parse(arguments['dbconnections']) ~/ isolates;
    ServerSocket.bind(arguments['address'], int.parse(arguments['port'])).then(
        (server) {
      var ref = server.reference;
      for (int i = 1; i < isolates; i++) {
        Isolate.spawn(startInIsolate, [ref, dbConnections]);
  
negative.code: 
  /// Completes the given [request] by writing the [response] with the given
  /// [statusCode] and [type].
  void _sendResponse(HttpRequest request, int statusCode,
      {ContentType type, List<int> response}) {
    request.response.statusCode = statusCode;
    request.response.headers.date = new DateTime.now();
    if (type != null) {
      request.response.headers.contentType = type;
    }
    if (response != null) {
      request.response.contentLength = response.length;
      request.response.add(response);
    } else {
      request.response.contentLength = 0;
    }
  