fix for running tests as commonjs modules as well
version bump
transparently set the referrer headers for proxied requests
ugly code, will refactor