started work on tcp_server class