Add DTLS support to ssltest and wire up some regress tests.

ok miod@
Specify the correct strength bits for 3DES cipher suites.

From OpenSSL.

ok miod@
Pull the code that builds a DTLS sequence number out into its own function
to avoid duplication. Also use fewer magic numbers.

ok miod@