basic http server implemented in backend to handle requests