Refine the mutex debugging code in the libevent driver.
Use manual memory management in the HTTP benchmark client.