Check riak_api for http connection info.

Required for basho/riak#361.