Websocket detection for old browsers