Previously, mBufferedAmount is only updated when copy complete. If I keep calling `send`, `NotifyCopyComplete` is only called after the last `send`.
This patch changes to update mBufferedAmount in every `send` call, so that it returns `false` correctly if buffer is full.
Differential Revision: https://phabricator.services.mozilla.com/D118258