TS-1067 Fix the code around the proxy.config.udp.theads option