Add length option

I need to set the `Content-Length` header.