prepareSocket() and connectToSocket(), from connection.c, documented
getCommand() from connection.c documented
Documenting main.c