implemented basic http-server