title: Socket.io disconnect with screen turn-off on iOS
body: <p>I am in the midst of developing a card game as a web application using Node.js and Socket.io. As an Android user with a Nexus 5 and the latest OS, along with the newest version of Chrome mobile, I haven't experienced any issues. After using an iPhone 5 and ironing out some minor issues, I've noticed that when the screen is turned off on the phone, the socket disconnects. I have server side logging (I'm running through cloud 9 services), that says the id of the player when they disconnect (which just happens to be the socket identifier as well). Turning off the screen on Android doesn't seem to have any issues, and it only disconnects when I quit the application completely by swiping it away from the open applications/multitasking view. Having a web application that creates a new player for each websocket connection to individual games becomes pretty useless if that player is removed from the game each time their screen turns off.</p>
  
  <p>Any ideas as to what may be causing this or any configuration changes I could make that would prevent this? I've tried Googling but can't seem to find any related issues.</p>
  
  <p>EDIT - Using javascript socket.io</p>