handle unexpected continuation frame correctly