abandon microhttpd now
transfer-encoding chunked and thread waiting in the handler did the trick!