riak_core http setting moved to riak_api

use a generic wrapper to work with multiple versions of Riak