basic workign tcp server stuff