Android: Implemented MCMainThread, implemented certificate verification
Fixed build