Currently, toxcore does not support UDP over proxies. In the future, we can relax this by disabling UDP only if the proxy doesn't support it.
Related: https://github.com/qTox/qTox/issues/5174