Working basic webserver handling 4 most common http requests