Factored out socks and i/o into separate files.
Added files for configuration information.
Standard C I/O wrappers.
POSIX I/O wrappers.