Rack 1.5: Use equal? to compare form_input to rack.input

Backport to rack 1.5 of https://github.com/rack/rack/pull/588 by @statianzo

It's really just a cherry-pick without changes. But that's all I can do to make this be merged faster on rack 1.5.