reuse hw1 lib: socket and io_wrapper
CGI: finish single connection version without html output