basic http server almost done