First step to CGI support.
Parsed CGI script output and returned result.
Fixed memory leak.
Piped stdout to file, fixing encoding issues.

- Also, passed in host and cookie.
- Passed in the correct script name.
Added command-line flags for CGI script.

- RECORD_FOLDER and replayserver.
Switched from tmpnam() to the safer mkstemp().
Added IP address flag to QUIC server.
Removed checking --origin-to-force-quic-on flag.
Parsed URI into host and hostless URI.