Copying over proxy.js from Eavesdropper project.