Testing connection to server with Tor