HTTP GET server implemented with C socket API