Try and fix websocket on firefox. Almost certainly not perfect.