Make session.rb ignore negative content length

Some servers return negative content lengths, causing issues with httpclient.  I've set it to just use maxbytes if the content length reported is negative, which appears to work well for me.