Update ssl code to support digests other than MD5+SHA1 in handshake.