fixed makefile and tested serverside of proxy