ee80e9eb34
`expect.rb` is part of the `pty` extension to the Ruby stdlib since it uses `select` and is meant for use with things like pipes or terminals and Windows does not allow for selecting on those sorts of handles. Since we only use it for sockets, we can pull it in straight to allow for use on Windows without building the whole `pty` extension.