if you only care about web-socket capable browsers