Move ws upgrade needing connection tests to a block checking browser support.
Merge pull request #346 from rase-/fix/tests

Move ws upgrade needing connection tests to a block checking browser support