fix bug in how mocha-proxy was loaded