I'd really prefer to have this available in the Java language. Absent that, it needs to be in okhttp or in a library that okhttp depends on.