[WAGON-416] Correctly set proxyInfo in other varian of wagon.connect()