Simple chat client and server written as a project for "Programming in C"