httpd: use own thread