removed copypaste from ProxyConnector.connect