adds xhr long polling as fallback for websocket