Fix tst_QWebSocket::tst_invalidOpen for catch-all DNS setups.
Fix tst_QWebSocket::tst_invalidOpen for catch-all DNS setups.

Instead of relying on a hostname which might still be resolved in
some DNS setups (i.e. always forward to google search or intranet),
we now try to connect to localhost port 1 which should yield a
ConnectionRefusedError.

This way, the test passes for me on my setup.

Change-Id: I025824796e94e718a42c4999706f647a72b37659
Reviewed-by: Kurt Pattyn <da83d6ada5df79ff647b4271d0d788c6f1bafca2@gmail.com>

SfietKonstantin/qtwebsockets,remimixlr/QtWebsocket,pixty/qtwebsockets,pixty/qtwebsockets