only socket io longpolling in demo mode (heroku)
worked on demo (heroku) mode