[TASK] added getContentLength for ResponseWriter