Fix exception when all fetch bodies return at once

Fixes a "TypeError: Cannot set property 'ended' of undefined" exception on line 1118 of Connection.js when `msg` is `undefined`. This can happen if all fetch parts are persent the first time through and no fetchCache entry is made.