Added test stuff for serverside performance
Made the server code flood proof

closes #2