Fix x509 analyzer to correctly return ecdsa as the key_type for ecdsa certs.

Returned dsa so far.

Bug found by Michał Purzyński
make sslv2 protocol tests more strict - in its current state they triggered
on http traffic over port 443 sometimes.

Sorry, no test because that specific traffic is a tad hard to get.

Found by Michał Purzyński.
Merge remote-tracking branch 'origin/fastpath'

* origin/fastpath:
  make sslv2 protocol tests more strict - in its current state they triggered on http traffic over port 443 sometimes.
  Fix x509 analyzer to correctly return ecdsa as the key_type for ecdsa certs.