Breaking out the SCGI module into a library.