Fix setPaused crash app

Also added `setKeepAlive` and `setNoDelay` for android, but still get `ECONNRESET` error.
Can you create a github issue for implementing this, and then reference this issue in this log message (so people can star it and let us know whether it's important)