creation of a simple tcp server