Fix compilation using subproject cgicc.
Up cgicc version.
Make one more optional to request object.
Refactor CGI implementation code.