somehow working server done. but blocking/nonblocking IO is the concern