How to connect a virtual device to a proxy?