Copy implementation of Rack::Request#ssl? so we're not implicitly depending on Rack 1.4.