Make SnappyFramedDecoder more robust against corrupt frame