made socket.io tweak to work with appfog