Changed unknown header Content-Size to valid HTTP- header Content-Length, since Content-Size forced apache to header Content-Encoding: chunked