httpserver in a more working state