[Android] Modify AndroidConnection to run sockets in own threads (as required by Android)