CGI: define copy constructor for class `request`, use shutdown to close read end of socket

p.s. use g++ to compile, [debug symbol].
modify testing error(newclient.cgi) and add testcase(run_cgi.py)