Add support for matching a server's cert by hash.
Remove unreachable code.