Prevent Firefox from aborting XMLHttpRequest and WebSocket #569