Fix CMakeLists.txt. Add new feature to "--toggle-recording" from client. Set debug optimization flag to "-Og".
Untested.
TODO: Use a thread to listen on the socket.