fix SSL test suite

This pull requests is the same as #371, but rebased to maint and contains two fixes for the ssl test suite.

1. When checking for a known renegotiation bug in OpenSSL, the version match was not restrictive enough and would match version that do not have this bug.
2. The anonymous, psk and srp cipher suites to test are initialized in a way that the list would contain suites that where not supported for the TLS version under test. This did not show up in the test, since the affected TLS 1.2 suites where actually not included in the test list.