Fixed http_server memory leak.