Error-weighted node selection

Inspired by https://github.com/basho/riak-ruby-client