added a primitive handler class
comment about http://bugs.python.org/issue15881
implemented a basic tcp server