Implementing a web server in a single printf() call