Use EventMachine.attach to stream input from rack.hijack.