[build] updates for socket.io, kind of hackish