Use Gradle 1.11.
Revert "Add missing connect()."

This reverts commit 8c883706a5d9b51ff2939df89c05b1cd5ce070de.
Revert "Make it (slightly) more convenient to automatically close resources for open websockets."

This reverts commit 1b8696f3ae271438369142f041ec139f0d43d720.