Add CountingOutputStream
Enable calcurate Content-Length.