Commandline testing tool and some buildsys changes
Added proxy creation convenience method