Bug 861595 - Don't try to decode anything if we don't have any bytes to decode. r=seth