Convert MockWebServer to run on Okio.

Closes #1175.
Thanks for the heads up!