Fix $LOADED_FEATURES comparison with Ruby 1.8.
Move Array#sort_by! to http/cookie/ruby_compat.
Improve rdoc.