fix buffers returned to pool too early
fix buffers returned to pool too early

buffers were returned to the pool before the write operation finished, which lead to corrupted buffers
justcoding121/Titanium-Web-Proxy,titanium007/Titanium,titanium007/Titanium-Web-Proxy