title: How can I simulate latency in Socket.io?
body: <p>Currently, I'm testing my Node.js, Socket.io server on <code>localhost</code> and on devices connected to my router.</p>
  
  <p>For testing purposes, I would like to simulate a delay in sending messages, so I know what it'll be like for users around the world.</p>
  
  <p>Is there any effective way of doing this?</p>