added proxy info to doTestConnection