Fixed socket.io issue with external devices