Removing unused code from MockWebserver