Certificate pinning for Android and iOS: Mobile man-in-the-middle attack prevention