Adding Java 7 support
Fix breakages due to OkHttp 2.0 API changes