Change riak_context to allow mocking of DNS resolution