a better tcp server & some client fancy