On Ruby 1.8, Only require URI methods from Rack if they are not already loaded

Closes #619