For some reason there aren't many examples of dead simple socket logging servers.