Firefox API allows to get exact payload size that may be more reliable that http header 'Content-Length'