fixed bug where Proxied type not shipped to client if method returned it
directly (as opposed to returning derived class)
Fixed bug on windows where paths with "\" were not interpreted
correctly; now translated to "/"