Starts profiling on client and server. On client, finishes after a test. On the server, finishes after sigint.