Commit Briefs
getcwd(NULL) is an extension; don't rely on it
also, while here, add some error checking too
remove not so useful starts_with()
replace its only usage with strncmp(). it's likely faster too.
don't call client_close() from fcgi/proxy bev handlers
We might end up calling client_close() from start_reply(), but that will free the fcgi/proxy bufferevent while they're still used on the stack. Instead, start_reply() only sets REQUEST_DONE and exits, returning the error eventually, so callers know when to stop.
draft the PATH_INFO and SCRIPT_NAME handling
The idea is to require SCRIPT_NAME to be defined and strip it from the beginning of the path to get PATH_INFO. Soon(tm) a `fastcgi request strip' option will be added too. Maybe even `fastcgi script name "path"` that sets SCRIPT_NAME automatically.
drop the __bounded__ attribute
breaks the build with -Werror depending on the compiler.