Fixed issue with cut-off html because of incorrect Content-Length Headers