In Windows we can see the following logs
[error] failed to CONNECT: dial tcp [IPv6]:443: connectex: A socket operation was attempted to an unreachable network.
This error better know as WSAENETUNREACH 10051 (0x2743) is Windows equivalent of no route to host.
We should handle it and respond with 502 Bad Gateway.