Adds client/server prototype.
Override thrift logging function.
Send the file to the server before compiling it.
Correctly clean up the socket and the pid files when exiting.