Fix reconnection tests on browsers using JSONP
Merge pull request #661 from rase-/fix/tests

Fix reconnection tests on browsers using JSONP