Update socket.coffee