a multifunctional extendable tcp server