As I understand, HTTP proxies work at the application layer: if the target site refuses connection, they report it to the client as such, sometimes even with a custom page. I'd say, wireshark diagnoses the proxy itself, not the target site.