the numberOfPairs may not be negative when numberOfPairs*2 is negative

Fixes issue https://github.com/square/okhttp/issues/288