windows fixes: loopback IP and escaped mocha exec path
Merge branch 'winfixes' into rsyncfix
refactored ld-shim as a separate file