Multiline support

Currently the example below, don't work.

```ruby
irb.send_input('class A')
irb.send_input('end')
```
Multi-line support is important as a common use case. I'm starting the investigation with a failing test.