Proxy tests and some basic support for windows client

This adds a few changes for proxy tests and windows client. Also removes clearx pseudo test and moves it to utils_spice instead.