Update android websockets to latest from upstream.

Adapted code from here (it contains some bug fixes and response validation):
https://github.com/codebutler/android-websockets/commit/6c7c60d11138636258d5632ec513b1bb2b07bd33