Make session.rb ignore negative content length