Bug/overly complex certificate verification method

Reopened https://github.com/leapcode/bitmask_android/pull/30