httpserver: initial implementation for httpserver