Fixed internal transmission of Content-Length header