added socket.io fallback to ajax long-polling. AF does not support websockets.