add free http connection list and optimize memory usage