The function
static void client_shutdown(void)
should include the line;
client_threads_are_running = 0;
otherwise repeated use of http_start()/http_shutdown()
causes a crash.
Use case is reuse of Kannel HTTP client code in a COM object.
