Made session.rb ignore negative content lengths