Modifying the existing code that is necessary to get proton working correctly with Android. JNIMessage.java and posix/driver.c