setting bodySize attribute of resource object on 'end' stage

https://github.com/ariya/phantomjs/issues/10158
Merge branch 'resource_body' into sl-main