Update OkApacheClient to use new API.

Closes #700.