These functions allow low-level control over stdin/out/err of the cgi.
However for most cases, binding the cgi to http in and out, the default lws implementation already does the right thing.