Update OkApacheClient to use new API.