title: Unhandled rejection Error: Integer is unsafe
body: <p>Sometimes I am getting the error 'Unhandled rejection Error: Integer is unsafe' when sending JSON data via socket.io 2.0. Here is an example of sending a tweet object that results in such an error.</p>
  
  <p>Example Code:
  <a href="https://gist.github.com/whoisstan/dcba1471094b984514c436fd395364e2" rel="nofollow noreferrer">https://gist.github.com/whoisstan/dcba1471094b984514c436fd395364e2</a></p>
  
  <p>I am using those packages on node 6.11.2:</p>
  
  <ul>
  <li>"redis": "^2.8.0",</li>
  <li>"socket.io": "~2.0",</li>
  <li>"socket.io-redis": "^5.1.0"</li>
  </ul>
  
  <p>Is the JSON payload simply too big? If yes, how do go about constraining the payload?</p>