anchor.diff:                           Protocol:encode_v1(Messages)
                    end,
       PacketListBin = encode_polling_json_packets_v1(PacketList, JsonP),
  -    {CookieIo, _} = cowboy_req:cookie(<<"io">>, Req),
  -
  -    cowboy_req:reply(200, javascript_headers(CookieIo), PacketListBin, Req);
  +
  +    cowboy_req:reply(200, javascript_headers(), PacketListBin, Req);
   reply_messages(Req, Messages, _Config = #config{protocol = Protocol}, SendNop, 0, _JsonP) ->
       Packet = case {SendNop, Messages} of
                    {true, []} ->
  
positive.code:             error
      end.
  
  safe_poll(Req, HttpState = #http_state{config = Config = #config{protocol = Protocol}, version = Version, jsonp = JsonP}, Pid, WaitIfEmpty) ->
      try
          Messages = socketio_session:poll(Pid),
          case {WaitIfEmpty, Messages} of
  
negative.code: encode_polling_json_packets_v1(PacketList, JsonP) ->
      Payload = lists:foldl(fun(Packet, AccIn) ->
          ResultLenBin = integer_to_binary(byte_size(Packet)),
          Packet2 = escape_character(Packet, <<"\\">>),
          Packet3 = escape_character(Packet2, <<"\"">>),
          Packet4 = escape_character(Packet3, <<"\\n">>),
          <<AccIn/binary, ResultLenBin/binary, ":", Packet4/binary>>
      end, <<>>, PacketList),
      <<"___eio[", JsonP/binary, "](\"", Payload/binary, "\");">>.
  
  escape_character(Data, CharBin) ->
      binary:replace(Data, CharBin, <<"\\", CharBin/binary>>, [global]).