Don't recover from timeouts.

Closes https://github.com/square/okhttp/issues/1146
Merge pull request #1257 from square/jwilson_1230_timeouts

Don't recover from timeouts.
Limit 20 authorization attempts.

We use one count for both redirects and authorization attempts. This
seems like good enough policy.

Closes https://github.com/square/okhttp/issues/960
Merge pull request #1256 from square/jwilson_1230_followup

Limit 20 authorization attempts.
New API to disable retry for an OkHttpClient.

Most applications won't want to disable retry globally. Instead, use
clone() to get an OkHttpClient for a specific, non-idempotent request,
then configure that client with the setting.

Closes https://github.com/square/okhttp/issues/1043
Merge pull request #1259 from square/jwilson_1230_fail

New API to disable retry for an OkHttpClient.
2.2.0 changelog.
Bump Okio dependency to 1.2.0.
[maven-release-plugin] prepare release parent-2.2.0
[maven-release-plugin] prepare for next development iteration
Add a web socket call concept for connecting.

Similar to HTTP and Call, the WebSocketCall is a representation of a pending HTTP request and subsequent upgrade to speak web sockets. Upon synchronous execution you are handed a WebSocket instance for synchronous writing and also pass in a WebSocketListener for async callbacks due to reading.

The API changes in this commits also generalize WebSocket such that it's agnostic to being a client or server peer.