Update path resolution to work on Windows and allow execution of proxy starting from non-teststack directories. Fixes #13.