Implement simple chat server

Homework for Goken 13: Simple chat server