The new ktlint sorts imports which makes this diff large.
The new japicmp ignores 'final' modifier changes in final classes.
We adopt the Google style for checkstyle.xml.
Okio readByteString() now uses segments more aggressively, so we
need to mitigate that to avoid tracking those segments in a test.
* Migrate eventListenerFactory to extension function
* Inline platformTrustManager
* Migrate delimiterOffset to extension functions
Also overhaul these and other string-manipulating functions to have default arguments for start/end indices.
* Migrate hostHeader and toHeaders to extension functions
* Migrate sameConnection to extension function
* Migrate bomAwareCharset to extension function
* Migrate verifyAsIpAddress to extension function
* Migrate indexOfControlOrNonAscii to extension function
* Migrate skip(Leading/Trailing)AsciiWhitespace and trimSubstring to extension functions
* Migrate toHeaderBlock to extension function