test_tls: Merge TLS/DTLS tests
test_tls: Merge TLS/DTLS tests

This is about half as much code and ensures that both protocols are
tested in a similar fashion.

Synss/python-mbedtls,Synss/python-mbedtls