Fix crash when working with GoAgent while autoproxy is ON.