Add parameter `Proxy $proxy` and show its classname in the exception