A Simple end-to-end chat system written in C