Pass headbytes and bodybytes as separate fields.  This prevents confusion over where the body starts.