added: libmicrohttpd starts a thread of its own, but it inherits the threadname from the thread it was started, so save the threadname, set the threadname to httpserver, start the http server, then set the threadname back