a simple tcp server support stander input and customer protocol