added certificate validation for SSL Client requests (used for ahmia and onionoo)