Fix socket.io issue on piler